home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12208 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  605 b 

  1. Path: unixg.ubc.ca!news
  2. From: jamesdf@unixg.ubc.ca (James Fairweather)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Is This Bad Coding Practice?
  5. Date: Fri, 29 Mar 1996 19:30:31 GMT
  6. Organization: University of British Columbia
  7. Message-ID: <315c3a1f.3153144@news.ucs.ubc.ca>
  8. References: <4jgnt2$9d1@loki.tor.hookup.net>
  9. NNTP-Posting-Host: srtb0411a01.resnet.ubc.ca
  10. X-Newsreader: Forte Agent .99d/32.182
  11.  
  12. In a word, Yes, this is bad coding practice.  That pointer returned
  13. from func has no memory allocated to it.
  14. ---
  15. James Fairweather
  16. 4th year Comp. Eng, UBC
  17. Vancouver, BC, Canada
  18. jamesdf@unixg.ubc.ca
  19. 604.228.2269
  20.